package com.cmse.service.impl;

import com.cmse.persistence.dao.ISiteInfoDao;
import com.cmse.persistence.domain.SiteInfo;
import com.cmse.service.ISiteInfoService;

/**
 * @author wulibin, exceptsky@gmail.com, 2012-3-15 下午2:24:54
 * 
 */
public class SiteInfoService implements ISiteInfoService{
	private ISiteInfoDao siteInfoDao;
	
	@Override
	public void add(SiteInfo siteInfo) {
		siteInfoDao.add(siteInfo);
	}

	@Override
	public SiteInfo get() {
		return siteInfoDao.get();
	}

	@Override
	public void update(SiteInfo siteInfo) {
		siteInfoDao.update(siteInfo);
	}

	public void setSiteInfoDao(ISiteInfoDao siteInfoDao) {
		this.siteInfoDao = siteInfoDao;
	}
}
